export interface Path {
    url: string;
    method: 'GET' | 'POST';
}

export class Paths {

    /**
     * 保存解析
     */
    static R_SAVE: Path = {
        url: '/record/save',
        method: 'POST'
    }

    /**
     * 获取解析列表
     */
    static R_LIST: Path = {
        url: '/record/list',
        method: 'GET'
    }

    static R_DEL: Path = {
        url: '/record/delete',
        method: 'GET'
    }

    static R_STATUS: Path = {
        url: '/record/status',
        method: 'POST'
    }

    static R_MARK: Path = {
        url: '/record/mark',
        method: 'POST'
    }

    static D_LIST: Path = {
        url: '/domain/list',
        method: 'GET'
    }


    static D_DEL: Path = {
        url: '/domain/delete',
        method: 'GET'
    }

    static D_SAVE: Path = {
        url: '/domain/save',
        method: 'POST'
    }

    static D_STATUS: Path = {
        url: '/domain/status',
        method: 'POST'
    }

    static D_FIND: Path = {
        url: '/domain/find',
        method: 'POST'
    }

    static LOGIN: Path = {
        url: '/login',
        method: 'POST'
    }

}
